package com.can.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.can.domain.entity.Role;
import com.can.domain.vo.PageVO;

import java.util.List;


/**
 * 角色信息表(Role) 服务接口
 *
 * @author cancan
 * @since 2023-05-11 10:33:33
 */
public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(Long userId);

    PageVO page(Integer pageNum, Integer pageSize, Role role);

    void add(Role role);

    void update(Role role);

}
